package sk.fhi.server.service;

import java.util.List;

import sk.fhi.shared.model.AbstractEntity;

public interface CRUDService {
	
	public Long save(AbstractEntity entity);
	
	public void delete(Class<? extends AbstractEntity> entityClass, List<Long> ids);
	
	public <E> List<E> list(Class<E> entityClass);
	
	public <E extends AbstractEntity> E get(Class<E> entityClass, Long id);
	
}
